package com.hsq.spzx.cart;

import com.hsq.spzx.common.annotate.EnableUserWebMvcConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author hsq
 * @date 2025-06-15 下午10:34
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class) // 排除数据库的自动化配置，Cart微服务不需要访问数
@EnableFeignClients(basePackages = {
        "com.hsq.spzx.feign.product"
})
@EnableUserWebMvcConfiguration
public class CartApplication {
    public static void main(String[] args) {
        SpringApplication.run(CartApplication.class, args);
    }
}
